﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations.Schema;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Domain.Entities;

namespace ERP.Team.ProductionSystem
{
    /// <summary>
    /// 工艺流程表实体 (主键: int)
    /// </summary>
    public class Workmanship : Entity<int>// 工艺流程ID，主键，自增
    {
        /// <summary>
        /// 工艺路线编号
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string WorkmanshipCode { get; set; }

        /// <summary>
        /// 工艺路线名称
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string WorkmanshipName { get; set; }

        /// <summary>
        /// 工艺路线说明
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string WorkmanshipDescribe { get; set; }

        /// <summary>
        /// 是否启用(1=启用，0=禁用)
        /// </summary>
        public int? IsNo { get; set; }

        /// <summary>
        /// 备注信息
        /// </summary>
        [Required]
        [MaxLength(50)]
        public string Context { get; set; }
    }

}
